Skip to content

Conversation

@mrunalp
Copy link
Contributor

@mrunalp mrunalp commented Jan 14, 2016

Signed-off-by: Mrunal Patel [email protected]

@mrunalp
Copy link
Contributor Author

mrunalp commented Jan 14, 2016

This is related to the spec change we made to make cwd required.

@crosbymichael
Copy link
Member

@mrunalp maybe some of the tests need the template updated with a cwd to fix the test failures.

start.go Outdated
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think about moving this validation to loadSpec()?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, will do.

@mrunalp mrunalp force-pushed the set_cwd branch 2 times, most recently from e7b14f3 to b18ab25 Compare January 15, 2016 00:01
Signed-off-by: Mrunal Patel <[email protected]>
@mrunalp
Copy link
Contributor Author

mrunalp commented Jan 15, 2016

Updated wit the tests fixed. There is some issue on jenkins, the tests aren't even run.

@hqhq
Copy link
Contributor

hqhq commented Jan 15, 2016

LGTM if janky is happy.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if opencontainers/runtime-spec#312 is adopted before this PR is merged, can you add a check to ensure its an abs path? filepath.IsAbs()

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

Sent from my iPhone

On Jan 15, 2016, at 6:14 AM, Doug Davis [email protected] wrote:

In spec.go:

@@ -290,6 +291,15 @@ var mountPropagationMapping = map[string]int{
"": syscall.MS_PRIVATE | syscall.MS_REC,
}

+// validateSpec validates the fields in the spec
+// TODO: Add validation for other fields where applicable
+func validateSpec(spec *specs.LinuxSpec, rspec *specs.LinuxRuntimeSpec) error {


Reply to this email directly or view it on GitHub.

@mrunalp
Copy link
Contributor Author

mrunalp commented Jan 15, 2016

@jfrazelle ping; Something wrong with the jenkins server.

@LK4D4
Copy link
Contributor

LK4D4 commented Jan 15, 2016

LGTM

LK4D4 added a commit that referenced this pull request Jan 15, 2016
@LK4D4 LK4D4 merged commit 54b07da into opencontainers:master Jan 15, 2016
stefanberger pushed a commit to stefanberger/runc that referenced this pull request Sep 8, 2017
…d_ppc_and_s390x

seccomp: Add ppc and s390x to specs-go/config.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants